Live555 receive RTSP live stream, convert HTTP Live streaming (iOS live) protocolThe RTSP protocol is also a widely used live/on-demand streaming protocol that previously implemented a
Https://github.com/illuspas/nginx-rtmp-win32Http://bashell.sinaapp.com/archives/build-nginx-rtmp-module-on-windows.htmlHttps://github.com/xaccc/nginx-rtmp-win32Https://github.com/luowei/nginx-rtmp-sample/blob/master/conf/nginx.new.confHttps://github.com/luowei/nginx-rtmp-sampleFirst step: first introduce the relevant technology usedNote: The Jwplayer plug-in used in the project does not support the RTSP protocol, so use the following techniques to tur
One, RTMP, RTSP, HTTP protocolThese three protocols belong to the Application layer protocol in the Internet TCP/IP five layer architecture. Theoretically these three kinds can be used for video broadcast or on-demand. But usually, live broadcast with RTMP, RTSP. And on-demand with HTTP.The following are the characteristics of the following three respectively. Th
First step: first introduce the relevant technology usedNote: The Jwplayer plug-in used in the project does not support the RTSP protocol, so use the following techniques to turn the art
FFmpeg is an open-source computer program that can be used to record, convert digital audio, video, and turn it into a stream. Here I only use its video format conversion function, the
be determined. The following describes several operation modes:Unicast:Send the media to the RTSP request source using the selected port number.Multicast, server selection address:The Media Server selects the multicast address and port, which is a common method for live broadcast or quasi-Vod.Multicast:If the server is added to an ongoing multicast meeting, the multicast address, port, and key are provided
The previous article described "H264 video via rtmp stream live", below will explain how to H264 live video live through RTSP.
The realization of the idea is to send the video stream to live555, by live555 to achieve the H264 data
The previous article introduced the "H264 video through the rtmp streaming", the following will explain how to H264 real-time video through the RTSP live.
The realization idea is to send the video stream to the live555, and the live555 to realize the H264 data stream live.
T
Objective:
Using the javacv1.2 version, refer to the code on the Internet, encountered a number of very serious problems, the last one to eliminate the solution. The main issues to be addressed are:
Problem one, ffmpeg default is the way to use UDP, often the problem of packet loss, you need to change the UDP to TCP can be resolved, the following is the content of the error:
Input #0, RTSP, from ' RTSP://A
http://blog.csdn.net/span76/article/details/12913307Offline media only uses the HTTP protocol to read server-side files, and for live broadcast how to achieve, here will use the RTP/RTCP protocolRtp/rtcpRTP is based on UDP protocol, UDP does not have to establish a connection, more efficient, but allow packet loss, which requires more work when re-assembling the mediaRTP is only the parcel content information, and RTCP is the exchange of control infor
efficiency. The audio can be played directly by calling the cmdaaudiooutputstream class of the system.
Shows the playback effect,
Portrait Screen
Landscape Screen
The RTSP address connected by the above program is rtsp: // 88.107.126.1: 3838/live.3gp, and the image quality is CIF, 5FP/s, and 32kb. The video server is located in the UK. If you are interested,
Use the HTML5 video to play the RTSP live streaming source code:DOCTYPE html>Html>Head>MetaHttp-equiv= "Content-type"Content= "text/html; CHARSET=GBK ">Title>video Test 10:rtsp StreamingTitle>Script>functionRotateme () {i=0;Int=SetInterval (function() {Video.style.WebkitTransform=‘Rotate‘+(I++%360)+‘Deg‘; Video.style.MozTransform=‘Rotate‘+(I++%360)+‘Deg‘; Video.s
1. Imitate the steps in http://download.csdn.net/detail/haowenxin123456789/8044245;2. Download the Vlc-2.2.1-win32.exe from the http://www.videolan.org/vlc/index.html and install it into the D:\\programfiles folder;3. operation: Vegsvr32 D:\\programfiles\\videolan\\vlc\\axvlc.dll;4. The test.html file code is as follows:Opening test.html in IE will play the live RTSP video stream.Insert VLC player into th
One, RTMP, RTSP, HTTP protocolThese three protocols belong to the Application layer protocol in the Internet TCP/IP five layer architecture. Theoretically these three kinds can be used for video broadcast or on-demand. But usually, live broadcast with RTMP, RTSP. And on-demand with HTTP.The following are the characteristics of the following three respectively. Th
Bilibili (b station), presumably everyone is not unfamiliar. The Ijkplayer framework is the B station provides an open source streaming media solution, integrates ffmpeg, and also supports hard decoding (requires iOS8 above version). Using the Ijkplayer framework, we can easily realize the video live function (which is supported by several HTTP/RTMP/RTSP).
This article mainly describes how to use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.